package com.zz.parkingsystem.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author wangyuxiang
 */
@Data
public class AdminLoginDTO {
    private Integer adminId;
    private String adminTel;
    private String adminPassword;

    @NotBlank(message = "新密码不能为空")
    @Size(message = "新密码不小于{min}位", min= 8)
    private String newPassword;

    private String adminSalt;
}
